package com.intozhou.yfl.activity;

import android.os.Bundle;

import com.infrastructure.net.RequestParameter;
import com.intozhou.yfl.engine.RemoteService;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zyt on 16/6/13 20:40 .
 * Email : syy19930112@aliyun.com
 * Description:
 */
public class LoginActivity extends AppBaseActivity {
    @Override
    protected void initVariables() {

    }

    @Override
    protected void initViews(Bundle savedInstanceState) {

    }

    @Override
    protected void initData() {

        // TODO 使用示例
        AbstractRequestCallback callback = new AbstractRequestCallback() {
            @Override
            public void onSuccess(String content) {

            }
        };

        List<RequestParameter> parameters = new ArrayList<>();
        parameters.add(new RequestParameter("", ""));
        RemoteService.getInstance().invoke(this, "", parameters, callback);
    }
}
